package com.selftool.util;

import com.selftool.vo.ModelVO;

import java.util.List;

/**
 * @program: selftool
 * @description: JDBC工具
 * @author: CYQ
 * @create: 2024-02-27 09:37
 **/
public class JDBCUtil {
    public static List<ModelVO>getModel(String tablename){
//        mapper.selectlist(null);
//        ModelMapper mapper =  (ModelMapper)SpringContextUtil.getBean("ModelMapper");
//        ApplicationContext context = builder.headless(false).web(WebApplicationType.NONE).run(args);
//        ModelMapper mapper = context.getBean(ModelMapper.class);


//        JDBCService server = (JDBCService) SpringContextUtil.getBean(JDBCService.class);
//        JDBCService methodDemoService = Application.ac.getBean(JDBCService.class);
//        List<ModelVO> list = server.getModel(null);
        return null;
    }
}
